package com.itasura.templatemethod;

/**
 * @author sailor wang
 * @date 2018/11/21 7:46 PM
 * @description
 */
public class Cooker {

    private CookMethod cookMethod;

    public void cook() {
        cookMethod.cook();
    }

    public CookMethod getCookMethod() {
        return cookMethod;
    }

    public void setCookMethod(CookMethod cookMethod) {
        this.cookMethod = cookMethod;
    }
}